package com.lf.api.weixin.entity;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 
 * Description: jsapi_ticket是公众号用于调用微信JS接口的临时票据。正常情况下，jsapi_ticket的有效期为7200秒，通过access_token来获取
 * Copyright: Copyright (c)2012
 * Company: 小小书童
 * @author: 小小书童
 * @version: 1.0
 * Create at: 2016年10月1日 下午11:19:47
 *
 * Modification History:
 * Date Author Version Description
 * ---------------------------修改历史---------------------------------------
 * 2016年10月1日 小小书童 1.0
 */
public class JSTicket extends ResultCode {
	
	private String ticket;
	@JsonProperty(value="expires_in")
	private int expiresIn;
	public String getTicket() {
		return ticket;
	}
	public void setTicket(String ticket) {
		this.ticket = ticket;
	}
	public int getExpiresIn() {
		return expiresIn;
	}
	public void setExpiresIn(int expiresIn) {
		this.expiresIn = expiresIn;
	}
	@Override
	public String toString() {
		return "JSTicket [ticket=" + ticket + ", expiresIn=" + expiresIn + ", getErrorCode()=" + getErrorCode()
				+ ", getErrorMsg()=" + getErrorMsg() + "]";
	}
	
}
